<?php
include_once "db.php";

	mysql_query ("insert into resolution_notes (call_ID, HD_user_ID, note_desc, contact_type, transfer_to, pipeline_reset, vista_reset) values('$_POST[CallID]', '$_POST[HDuserID]', '$_POST[notes]', '$_POST[contact_type]', '$_POST[transfer_to]', '$_POST[pipeline_reset]', '$_POST[vista_reset]')");
	mysql_query ("update Calls set call_closed='$_POST[closed]', higher_level='$_POST[high_level]', pending='$_POST[pending]', hl_followup='$_POST[hl_followup]', oia_followup='$_POST[oia_followup]' WHERE Calls.Call_ID = $_POST[CallID]");
    header("Location: calls_detail.php?callid=$_POST[CallID]");

?>